package com.bean;

/**
 * @Author:wsc
 * @Date:2025/9/21-00:36-35
 */
public class Goods {
    private int goodsId;

    private String goodsName;

    private String goodsFactory;

    private String goodsType;

    private double  goodsPrice;

    private int goodsNum;

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsFactory() {
        return goodsFactory;
    }

    public void setGoodsFactory(String goodsFactory) {
        this.goodsFactory = goodsFactory;
    }

    public String getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    public double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public int getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(int goodsNum) {
        this.goodsNum = goodsNum;
    }

    public Goods() {
    }

    public Goods(int goodsId, String goodsName, String goodsFactory, String goodsType, double goodsPrice, int goodsNum) {
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.goodsFactory = goodsFactory;
        this.goodsType = goodsType;
        this.goodsPrice = goodsPrice;
        this.goodsNum = goodsNum;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "goodsId=" + goodsId +
                ", goodsName='" + goodsName + '\'' +
                ", goodsFactory='" + goodsFactory + '\'' +
                ", goodsType='" + goodsType + '\'' +
                ", goodsPrice=" + goodsPrice +
                ", goodsNum=" + goodsNum +
                '}';
    }
}
